package com.woniuxy.book.exception.orderrefund;

public enum OrderRefundExceptionCode {
    ORDER_REFUND_EXCEPTION_APPLYREFUND_NOTEXITS(60001,"该退款订单不存在"),
    ORDER_REFUND_EXCEPTION_REFUNDORDER_NOTEXITS(60002,"该退款的订单不存在"),
    ORDER_REFUND_EXCEPTION_REFUNDSTATE_ERRO(60003,"该状态下不支持此操作"),
    ORDER_REFUND_EXCEPTION_REFUNDORDER_NOTYOUR(60004,"该退款订单不是你的");
    private Integer code;
    private String message;

    OrderRefundExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}

